#include <stdio.h>
/* print Fahrenheit-Celsius table
 * for fahr = 0, 20, ..., 300 */
float FtoC(float fahr){
        return 5*(fahr-32)/9;
}

int main()
{
    //int fahr, celsius;
    float fahr, celsius;
    int lower, upper, step;

    lower=0;
    upper=300;
    step=20;
    fahr=lower;

    while(fahr<=upper){
        printf("%3.0f %6.1f\n",fahr,FtoC(fahr));
        fahr+=step;
    }
    return 0;
}
